package com.app114.app.android.rk.sns;


public class QWeiboHandle {

	private static final String RESULT_FOMMAT_JSON = "json";

	/*
	 * public static void OAuth(Fragment fragment, OAuthV2 oAuth, int requestCode) {
	 * OAuthV2Client.getQHttpClient().shutdownConnection(); Intent intent = new Intent(fragment.getActivity(),
	 * OAuthV2AuthorizeWebView.class);// 创建Intent，使用WebView让用户授权 intent.putExtra("oauth", oAuth);
	 * fragment.startActivityForResult(intent, requestCode); }
	 *//**
	 * 
	 * @param oAuthV2
	 * @return
	 * @throws Exception
	 */
	/*
	 * public static String getUserInfo(OAuthV2 oAuthV2) throws Exception { UserAPI userAPI = new
	 * UserAPI(OAuthConstants.OAUTH_VERSION_2_A); return userAPI.info(oAuthV2, RESULT_FOMMAT_JSON); }
	 *//**
	 * 
	 * @param oAuthV2
	 * @param content
	 * @return
	 * @throws Exception
	 */
	/*
	 * public static String sendMessage(OAuthV2 oAuthV2, String content) throws Exception { TAPI tAPI = new
	 * TAPI(OAuthConstants.OAUTH_VERSION_2_A); return tAPI.add(oAuthV2, RESULT_FOMMAT_JSON, content, "127.0.0.1"); }
	 *//**
	 * 
	 * @param oAuthV2
	 * @param content
	 * @param filenPath
	 * @return
	 * @throws Exception
	 */
	/*
	 * public static String SendMessageWithPic(OAuthV2 oAuthV2, String content, String filenPath) throws Exception { TAPI tAPI =
	 * new TAPI(OAuthConstants.OAUTH_VERSION_2_A); return tAPI.addPic(oAuthV2, RESULT_FOMMAT_JSON, content, "127.0.0.1",
	 * filenPath); }
	 */
}
